<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Zend Gdata API Documentation</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta><link rel="stylesheet" href="../css/template.css" type="text/css"></link><script type="text/javascript" src="../js/jquery-1.4.2.min.js"></script><script type="text/javascript" src="../js/jquery.tools.min.js"></script><script type="text/javascript" src="../js/jquery-ui-1.8.2.custom.min.js"></script><script type="text/javascript" src="../js/template.js"></script></head><body><div id="content"><h1 class="file">Validate/Ip.php</h1><div id="file-nav-box"><div id="file-nav-options">
              Show:
              <img src="../images/icons/visibility_public.png" alt="Public" id="show-public"></img><img src="../images/icons/visibility_protected.png" alt="Protected" id="show-protected"></img><img src="../images/icons/visibility_private.png" alt="Private" id="show-private"></img><span class="attribute" id="show-inherited">inherited</span></div><div id="file-nav-container"><ul id="file-nav"><li><a href="#classes"><img src="../images/icons/class.png" alt="Class" height="14"></img>
                          Classes
                      </a><ul><li><a href="#\Zend_Validate_Ip">\Zend_Validate_Ip</a></li></ul></li></ul><div style="clear: left;"></div></div><div id="file-nav-tab">
              Table of Contents
          </div></div><a name="top" class="anchor"></a><div id="file-description"><div class="short-description">Zend Framework</div><div class="long-description"><p>LICENSE</p>

<p>This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.</p></div></div><dl class="file-info"><dt>Category</dt><dd>Zend
         
    </dd><dt>Copyright</dt><dd>Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
         
    </dd><dt>License</dt><dd><a href="http://framework.zend.com/license/new-bsd">New BSD License</a>
         
    </dd><dt>Package</dt><dd>Zend_Validate
         
    </dd><dt>Version</dt><dd>$Id: Ip.php 24593 2012-01-05 20:35:02Z matthew $
         
    </dd></dl><a name="classes" class="anchor"></a><a id="\Zend_Validate_Ip" class="anchor"></a><h2 class="class">\Zend_Validate_Ip<div class="to-top"><a href="#top">jump to top</a></div></h2><div class="class"><small class="package"><b>Package: </b>Zend\Validate</small><div class="long-description"></div><dl class="class-info"><dt>Parent(s)</dt><dd><a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract">\Zend_Validate_Abstract</a></dd><dt>Category</dt><dd>Zend
         
    </dd><dt>Copyright</dt><dd>Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
         
    </dd><dt>License</dt><dd><a href="http://framework.zend.com/license/new-bsd">New BSD License</a>
         
    </dd></dl><h3>Constants</h3><div><a id="\Zend_Validate_Ip::INVALID" class="anchor"></a><div class="constant publicC"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/constant.png" alt="Constant"></img> 
                <span class="highlight">INVALID</span>
                = 'ipInvalid'</code><div class="description"></div><div class="code-tabs"></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::NOT_IP_ADDRESS" class="anchor"></a><div class="constant publicC"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/constant.png" alt="Constant"></img> 
                <span class="highlight">NOT_IP_ADDRESS</span>
                = 'notIpAddress'</code><div class="description"></div><div class="code-tabs"></div><div class="clear"></div></div></div><h3>Properties</h3><div><a id="\Zend_Validate_Ip::$_defaultTranslator" class="anchor"></a><div class="property protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>\Zend_Translate <span class="highlight">$_defaultTranslator</span></code><div class="description"><span class="attribute">static</span><span class="attribute">inherited</span><div class="short-description">Default translation object for all validate objects</div><small class="inherited_from">Inherited from:
                        <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract::$$_defaultTranslator">\Zend_Validate_Abstract::$$_defaultTranslator</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>\Zend_Translate</dd><dt>Inherited_from</dt><dd><a href="../files/
                         Validate.Abstract.html#\Zend_Validate_Abstract::$$_defaultTranslator">\Zend_Validate_Abstract::$$_defaultTranslator</a>
         
    </dd></dl></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::$_errors" class="anchor"></a><div class="property protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>array <span class="highlight">$_errors</span> = array()</code><div class="description"><span class="attribute">inherited</span><div class="short-description">Array of validation failure message codes</div><small class="inherited_from">Inherited from:
                        <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract::$$_errors">\Zend_Validate_Abstract::$$_errors</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Default value</strong><code>array()</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>array</dd><dt>Inherited_from</dt><dd><a href="../files/
                         Validate.Abstract.html#\Zend_Validate_Abstract::$$_errors">\Zend_Validate_Abstract::$$_errors</a>
         
    </dd></dl></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::$_messageLength" class="anchor"></a><div class="property protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>Integer <span class="highlight">$_messageLength</span> = -1</code><div class="description"><span class="attribute">static</span><span class="attribute">inherited</span><div class="short-description">Limits the maximum returned length of a error message</div><small class="inherited_from">Inherited from:
                        <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract::$$_messageLength">\Zend_Validate_Abstract::$$_messageLength</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Default value</strong><code>-1</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>Integer</dd><dt>Inherited_from</dt><dd><a href="../files/
                         Validate.Abstract.html#\Zend_Validate_Abstract::$$_messageLength">\Zend_Validate_Abstract::$$_messageLength</a>
         
    </dd></dl></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::$_messageTemplates" class="anchor"></a><div class="property protected"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>array <span class="highlight">$_messageTemplates</span> = array(self::INVALID =&gt; "Invalid type given. String expected", self::NOT_IP_ADDRESS =&gt; "'%value%' does not appear to be a valid IP address")</code><div class="description"><div class="short-description">Validation failure message template definitions</div></div><div class="code-tabs"><div class="long-description"></div><strong>Default value</strong><code>array(self::INVALID =&gt; "Invalid type given. String expected", self::NOT_IP_ADDRESS =&gt; "'%value%' does not appear to be a valid IP address")</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>array</dd></dl></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::$_messageVariables" class="anchor"></a><div class="property protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>array <span class="highlight">$_messageVariables</span> = array()</code><div class="description"><span class="attribute">inherited</span><div class="short-description">Additional variables available for validation failure messages</div><small class="inherited_from">Inherited from:
                        <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract::$$_messageVariables">\Zend_Validate_Abstract::$$_messageVariables</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Default value</strong><code>array()</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>array</dd><dt>Inherited_from</dt><dd><a href="../files/
                         Validate.Abstract.html#\Zend_Validate_Abstract::$$_messageVariables">\Zend_Validate_Abstract::$$_messageVariables</a>
         
    </dd></dl></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::$_messages" class="anchor"></a><div class="property protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>array <span class="highlight">$_messages</span> = array()</code><div class="description"><span class="attribute">inherited</span><div class="short-description">Array of validation failure messages</div><small class="inherited_from">Inherited from:
                        <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract::$$_messages">\Zend_Validate_Abstract::$$_messages</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Default value</strong><code>array()</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>array</dd><dt>Inherited_from</dt><dd><a href="../files/
                         Validate.Abstract.html#\Zend_Validate_Abstract::$$_messages">\Zend_Validate_Abstract::$$_messages</a>
         
    </dd></dl></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::$_obscureValue" class="anchor"></a><div class="property protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>bool <span class="highlight">$_obscureValue</span> = false</code><div class="description"><span class="attribute">inherited</span><div class="short-description">Flag indidcating whether or not value should be obfuscated in error
messages</div><small class="inherited_from">Inherited from:
                        <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract::$$_obscureValue">\Zend_Validate_Abstract::$$_obscureValue</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Default value</strong><code>false</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>bool</dd><dt>Inherited_from</dt><dd><a href="../files/
                         Validate.Abstract.html#\Zend_Validate_Abstract::$$_obscureValue">\Zend_Validate_Abstract::$$_obscureValue</a>
         
    </dd></dl></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::$_options" class="anchor"></a><div class="property protected"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>array <span class="highlight">$_options</span> = array('allowipv6' =&gt; true, 'allowipv4' =&gt; true)</code><div class="description"><div class="short-description">internal options</div></div><div class="code-tabs"><div class="long-description"></div><strong>Default value</strong><code>array('allowipv6' =&gt; true, 'allowipv4' =&gt; true)</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>array</dd></dl></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::$_translator" class="anchor"></a><div class="property protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>\Zend_Translate <span class="highlight">$_translator</span></code><div class="description"><span class="attribute">inherited</span><div class="short-description">Translation object</div><small class="inherited_from">Inherited from:
                        <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract::$$_translator">\Zend_Validate_Abstract::$$_translator</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>\Zend_Translate</dd><dt>Inherited_from</dt><dd><a href="../files/
                         Validate.Abstract.html#\Zend_Validate_Abstract::$$_translator">\Zend_Validate_Abstract::$$_translator</a>
         
    </dd></dl></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::$_translatorDisabled" class="anchor"></a><div class="property protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>Boolean <span class="highlight">$_translatorDisabled</span> = false</code><div class="description"><span class="attribute">inherited</span><div class="short-description">Is translation disabled?</div><small class="inherited_from">Inherited from:
                        <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract::$$_translatorDisabled">\Zend_Validate_Abstract::$$_translatorDisabled</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Default value</strong><code>false</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>Boolean</dd><dt>Inherited_from</dt><dd><a href="../files/
                         Validate.Abstract.html#\Zend_Validate_Abstract::$$_translatorDisabled">\Zend_Validate_Abstract::$$_translatorDisabled</a>
         
    </dd></dl></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::$_value" class="anchor"></a><div class="property protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>mixed <span class="highlight">$_value</span></code><div class="description"><span class="attribute">inherited</span><div class="short-description">The value to be validated</div><small class="inherited_from">Inherited from:
                        <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract::$$_value">\Zend_Validate_Abstract::$$_value</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>mixed</dd><dt>Inherited_from</dt><dd><a href="../files/
                         Validate.Abstract.html#\Zend_Validate_Abstract::$$_value">\Zend_Validate_Abstract::$$_value</a>
         
    </dd></dl></div><div class="clear"></div></div></div><h3>Methods</h3><div><a id="\Zend_Validate_Ip::__construct()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">__construct</span><span class="nb-faded-text">(array $options = array())</span> : void</code><div class="description"><p class="short_description">Sets validator options</p></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$options</th><td>array</td><td><em><p>OPTIONAL Options to set, see the manual for all available options</p></em></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::__get()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">__get</span><span class="nb-faded-text">(string $property)</span> : mixed</code><div class="description"><span class="attribute">inherited</span><p class="short_description">Magic function returns the value of the requested property, if and only if it is the value or a
message variable.</p><small class="inherited_from">Inherited from:
                    <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract::__get()">\Zend_Validate_Abstract::__get()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$property</th><td>string</td><td><em></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>mixed</td><td></td></tr></table><strong>Throws</strong><table class="argument-info"><thead><tr><th>Exception</th><th>Description</th></tr></thead><tr><td>\Zend_Validate_Exception</td><td><em></em></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::_createMessage()" class="anchor"></a><div class="method protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img><span class="highlight">_createMessage</span><span class="nb-faded-text">(string $messageKey, string $value)</span> : string</code><div class="description"><span class="attribute">inherited</span><p class="short_description">Constructs and returns a validation failure message with the given message key and value.</p><small class="inherited_from">Inherited from:
                    <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract::_createMessage()">\Zend_Validate_Abstract::_createMessage()</a></small></div><div class="code-tabs"><div class="long-description"><p>Returns null if and only if $messageKey does not correspond to an existing template.</p>

<p>If a translator is available and a translation exists for $messageKey,
the translation will be used.</p></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$messageKey</th><td>string</td><td><em></em></td></tr><tr><th>$value</th><td>string</td><td><em></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>string</td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::_error()" class="anchor"></a><div class="method protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img><span class="highlight">_error</span><span class="nb-faded-text">(string $messageKey, string $value = null)</span> : void</code><div class="description"><span class="attribute">inherited</span><p class="short_description"></p><small class="inherited_from">Inherited from:
                    <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract::_error()">\Zend_Validate_Abstract::_error()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$messageKey</th><td>string</td><td><em></em></td></tr><tr><th>$value</th><td>string</td><td><em><p>OPTIONAL</p></em></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::_setValue()" class="anchor"></a><div class="method protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img><span class="highlight">_setValue</span><span class="nb-faded-text">(mixed $value)</span> : void</code><div class="description"><span class="attribute">inherited</span><p class="short_description">Sets the value to be validated and clears the messages and errors arrays</p><small class="inherited_from">Inherited from:
                    <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract::_setValue()">\Zend_Validate_Abstract::_setValue()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$value</th><td>mixed</td><td><em></em></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::_validateIPv4()" class="anchor"></a><div class="method protected"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img><span class="highlight">_validateIPv4</span><span class="nb-faded-text">(string $value)</span> : void</code><div class="description"><p class="short_description">Validates an IPv4 address</p></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$value</th><td>string</td><td><em></em></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::_validateIPv6()" class="anchor"></a><div class="method protected"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img><span class="highlight">_validateIPv6</span><span class="nb-faded-text">(string $value)</span> : boolean</code><div class="description"><p class="short_description">Validates an IPv6 address</p></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$value</th><td>string</td><td><em><p>Value to check against</p></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>boolean</td><td>True when $value is a valid ipv6 address
                False otherwise</td></tr></table></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::getDefaultTranslator()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">getDefaultTranslator</span><span class="nb-faded-text">()</span> : \Zend_Translate_Adapter | null</code><div class="description"><span class="attribute">static</span><span class="attribute">inherited</span><p class="short_description">Get default translation object for all validate objects</p><small class="inherited_from">Inherited from:
                    <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract::getDefaultTranslator()">\Zend_Validate_Abstract::getDefaultTranslator()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>\Zend_Translate_Adapter | null</td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::getErrors()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">getErrors</span><span class="nb-faded-text">()</span> : array</code><div class="description"><span class="attribute">inherited</span><p class="short_description">Returns array of validation failure message codes</p><small class="inherited_from">Inherited from:
                    <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract::getErrors()">\Zend_Validate_Abstract::getErrors()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>array</td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::getMessageLength()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">getMessageLength</span><span class="nb-faded-text">()</span> : integer</code><div class="description"><span class="attribute">static</span><span class="attribute">inherited</span><p class="short_description">Returns the maximum allowed message length</p><small class="inherited_from">Inherited from:
                    <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract::getMessageLength()">\Zend_Validate_Abstract::getMessageLength()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>integer</td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::getMessageTemplates()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">getMessageTemplates</span><span class="nb-faded-text">()</span> : array</code><div class="description"><span class="attribute">inherited</span><p class="short_description">Returns the message templates from the validator</p><small class="inherited_from">Inherited from:
                    <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract::getMessageTemplates()">\Zend_Validate_Abstract::getMessageTemplates()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>array</td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::getMessageVariables()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">getMessageVariables</span><span class="nb-faded-text">()</span> : array</code><div class="description"><span class="attribute">inherited</span><p class="short_description">Returns an array of the names of variables that are used in constructing validation failure messages</p><small class="inherited_from">Inherited from:
                    <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract::getMessageVariables()">\Zend_Validate_Abstract::getMessageVariables()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>array</td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::getMessages()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">getMessages</span><span class="nb-faded-text">()</span> : array</code><div class="description"><span class="attribute">inherited</span><p class="short_description">Returns array of validation failure messages</p><small class="inherited_from">Inherited from:
                    <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract::getMessages()">\Zend_Validate_Abstract::getMessages()</a></small></div><div class="code-tabs"><div class="long-description"><p>The array keys are validation failure message identifiers,
and the array values are the corresponding human-readable message strings.</p>

<p>If isValid() was never called or if the most recent isValid() call
returned true, then this method returns an empty array.</p></div><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>array</td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::getObscureValue()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">getObscureValue</span><span class="nb-faded-text">()</span> : bool</code><div class="description"><span class="attribute">inherited</span><p class="short_description">Retrieve flag indicating whether or not value should be obfuscated in
messages</p><small class="inherited_from">Inherited from:
                    <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract::getObscureValue()">\Zend_Validate_Abstract::getObscureValue()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>bool</td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::getOptions()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">getOptions</span><span class="nb-faded-text">()</span> : array</code><div class="description"><p class="short_description">Returns all set options</p></div><div class="code-tabs"><div class="long-description"></div><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>array</td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::getTranslator()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">getTranslator</span><span class="nb-faded-text">()</span> : \Zend_Translate_Adapter | null</code><div class="description"><span class="attribute">inherited</span><p class="short_description">Return translation object</p><small class="inherited_from">Inherited from:
                    <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract::getTranslator()">\Zend_Validate_Abstract::getTranslator()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>\Zend_Translate_Adapter | null</td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::hasDefaultTranslator()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">hasDefaultTranslator</span><span class="nb-faded-text">()</span> : boolean</code><div class="description"><span class="attribute">static</span><span class="attribute">inherited</span><p class="short_description">Is there a default translation object set?</p><small class="inherited_from">Inherited from:
                    <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract::hasDefaultTranslator()">\Zend_Validate_Abstract::hasDefaultTranslator()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>boolean</td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::hasTranslator()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">hasTranslator</span><span class="nb-faded-text">()</span> : bool</code><div class="description"><span class="attribute">inherited</span><p class="short_description">Does this validator have its own specific translator?</p><small class="inherited_from">Inherited from:
                    <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract::hasTranslator()">\Zend_Validate_Abstract::hasTranslator()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>bool</td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::isValid()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">isValid</span><span class="nb-faded-text">(mixed $value)</span> : boolean</code><div class="description"><p class="short_description">Defined by Zend_Validate_Interface</p></div><div class="code-tabs"><div class="long-description"><p>Returns true if and only if $value is a valid IP address</p></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$value</th><td>mixed</td><td><em></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>boolean</td><td></td></tr></table><strong>Throws</strong><table class="argument-info"><thead><tr><th>Exception</th><th>Description</th></tr></thead><tr><td>\Zend_Validate_Exception</td><td><em>If validation of $value is impossible</em></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::setDefaultTranslator()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">setDefaultTranslator</span><span class="nb-faded-text">(\Zend_Translate | \Zend_Translate_Adapter | null $translator = null)</span> : void</code><div class="description"><span class="attribute">static</span><span class="attribute">inherited</span><p class="short_description">Set default translation object for all validate objects</p><small class="inherited_from">Inherited from:
                    <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract::setDefaultTranslator()">\Zend_Validate_Abstract::setDefaultTranslator()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$translator</th><td>\Zend_Translate | \Zend_Translate_Adapter | null</td><td><em></em></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::setDisableTranslator()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">setDisableTranslator</span><span class="nb-faded-text">(bool $flag)</span> : <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract">\Zend_Validate_Abstract</a></code><div class="description"><span class="attribute">inherited</span><p class="short_description">Indicate whether or not translation should be disabled</p><small class="inherited_from">Inherited from:
                    <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract::setDisableTranslator()">\Zend_Validate_Abstract::setDisableTranslator()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$flag</th><td>bool</td><td><em></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td><a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract">\Zend_Validate_Abstract</a></td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::setMessage()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">setMessage</span><span class="nb-faded-text">(string $messageString, string $messageKey = null)</span> : <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract">\Zend_Validate_Abstract</a></code><div class="description"><span class="attribute">inherited</span><p class="short_description">Sets the validation failure message template for a particular key</p><small class="inherited_from">Inherited from:
                    <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract::setMessage()">\Zend_Validate_Abstract::setMessage()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$messageString</th><td>string</td><td><em></em></td></tr><tr><th>$messageKey</th><td>string</td><td><em><p>OPTIONAL</p></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td><a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract">\Zend_Validate_Abstract</a></td><td>Provides a fluent interface</td></tr></table><strong>Throws</strong><table class="argument-info"><thead><tr><th>Exception</th><th>Description</th></tr></thead><tr><td>\Zend_Validate_Exception</td><td><em></em></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::setMessageLength()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">setMessageLength</span><span class="nb-faded-text">(integer $length = -1)</span> : void</code><div class="description"><span class="attribute">static</span><span class="attribute">inherited</span><p class="short_description">Sets the maximum allowed message length</p><small class="inherited_from">Inherited from:
                    <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract::setMessageLength()">\Zend_Validate_Abstract::setMessageLength()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$length</th><td>integer</td><td><em></em></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::setMessages()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">setMessages</span><span class="nb-faded-text">(array $messages)</span> : <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract">\Zend_Validate_Abstract</a></code><div class="description"><span class="attribute">inherited</span><p class="short_description">Sets validation failure message templates given as an array, where the array keys are the message keys,
and the array values are the message template strings.</p><small class="inherited_from">Inherited from:
                    <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract::setMessages()">\Zend_Validate_Abstract::setMessages()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$messages</th><td>array</td><td><em></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td><a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract">\Zend_Validate_Abstract</a></td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::setObscureValue()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">setObscureValue</span><span class="nb-faded-text">(bool $flag)</span> : <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract">\Zend_Validate_Abstract</a></code><div class="description"><span class="attribute">inherited</span><p class="short_description">Set flag indicating whether or not value should be obfuscated in messages</p><small class="inherited_from">Inherited from:
                    <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract::setObscureValue()">\Zend_Validate_Abstract::setObscureValue()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$flag</th><td>bool</td><td><em></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td><a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract">\Zend_Validate_Abstract</a></td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::setOptions()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">setOptions</span><span class="nb-faded-text">(array $options)</span> : <a href="../files/Validate.Ip.html#\Zend_Validate_Ip">\Zend_Validate_Ip</a></code><div class="description"><p class="short_description">Sets the options for this validator</p></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$options</th><td>array</td><td><em></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td><a href="../files/Validate.Ip.html#\Zend_Validate_Ip">\Zend_Validate_Ip</a></td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::setTranslator()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">setTranslator</span><span class="nb-faded-text">(\Zend_Translate | \Zend_Translate_Adapter | null $translator = null)</span> : <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract">\Zend_Validate_Abstract</a></code><div class="description"><span class="attribute">inherited</span><p class="short_description">Set translation object</p><small class="inherited_from">Inherited from:
                    <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract::setTranslator()">\Zend_Validate_Abstract::setTranslator()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$translator</th><td>\Zend_Translate | \Zend_Translate_Adapter | null</td><td><em></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td><a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract">\Zend_Validate_Abstract</a></td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Validate_Ip::translatorIsDisabled()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">translatorIsDisabled</span><span class="nb-faded-text">()</span> : bool</code><div class="description"><span class="attribute">inherited</span><p class="short_description">Is translation disabled?</p><small class="inherited_from">Inherited from:
                    <a href="../files/Validate.Abstract.html#\Zend_Validate_Abstract::translatorIsDisabled()">\Zend_Validate_Abstract::translatorIsDisabled()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>bool</td><td></td></tr></table></div><div class="clear"></div></div></div></div></div><small class="footer">
            Documentation was generated by
            <a href="http://phpdoc.org">phpDocumentor
                2.0.0a12</a>.
        </small></body></html>
